<template>
  <div id="app">
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive" />
    </keep-alive>
    <router-view :key="new Date().getTime()"  v-if="!$route.meta.keepAlive" />
  </div>
</template>

<style lang="less">
@import url("./assets/styles/publicStyle.less");
#app {
  .widthAndHeight(100vw,100vh);
  font-family: "Microsoft Yahei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: @TitleText;
  overflow: hidden;
}
</style>
